<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:viewmodels="clr-namespace:MyCompany.ViewModels;assembly=MyCompany.ViewModels"
                    xmlns:views="clr-namespace:MyCompany.Views;assembly=MyCompany.Views">
    <ResourceDictionary.MergedDictionaries>

        <!--
            <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.xaml" />
            <ResourceDictionary Source="/FirstFloor.ModernUI;component/Assets/ModernUI.Light.xaml" />
        -->

        <!--  This dictionary includes everything defined in the UserInterfaceLibrary dll combined.  -->
        <ResourceDictionary Source="/MyCompany.UserInterfaceLibrary;component/MergedDictionaries.xaml" />

        <ResourceDictionary>
            <!--  A dummy style to work around WPF defect. See http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/f1231b5c-9fd2-40b7-8398-ebf7af8c0d2f  -->
            <Style TargetType="{x:Type Window}" />
        </ResourceDictionary>

        <ResourceDictionary>
            <!--  Add mappings from view models to views here as needed. If the views and view models are explicitely bound together, they do not need to be registered here.  -->
            <DataTemplate DataType="{x:Type viewmodels:MyApplicationViewModel}">
                <views:MyApplicationView />
            </DataTemplate>
            <DataTemplate DataType="{x:Type viewmodels:LogViewModel}">
                <views:LogView />
            </DataTemplate>
        </ResourceDictionary>
    </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>